#SPDB_Informix_DBSPI_1061
#critical =0  正常 =1 
# "0" :One or more sessions with number of long transactions too high
SPDB_Informix_DBSPI_1061="1"
isLongTx=$(su - $sys_user -c "$Souce_File onstat -" | grep LONGTX | wc -l)
if [ $isLongTx -ge 1 ]
then
#echo "One or more sessions with number of long transactions too high"
SPDB_Informix_DBSPI_1061="0"
fi


echo SPDB_Informix_DBSPI---"$SPDB_Informix_DBSPI_1061" 